package com.effectiv.gooruda.repository;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import com.effectiv.gooruda.domain.Application;
import com.effectiv.gooruda.domain.TenantCompany;



@Repository
public interface ApplicationRepository extends MongoRepository<Application, String>{
	
	List<Application> findByTenantCompany(TenantCompany tenantCompany);
	Application findByPublicKey(String key);
}
